package com.emath.shared;

import android.app.Application;
import android.content.Intent;
import android.graphics.Point;
import android.media.AudioManager;
import com.emath.objects.Collection;
import com.emath.objects.User;

public class Globals extends Application {
	public static Collection collectionObj = new Collection();
	public static Collection libraryObj = new Collection();
	public static User user = new User();
	public static int[] settingsHolder = { 1, 1, 1, 0 };
	public static int numOfBitmapsProcessing = 0;
	public static Intent backgroundMusicService;
	public static boolean isMusicPlaying = false;
	public static String strAudioLink = "R.raw.synthrharbinger";
	public static String focusedActivity = "MainActivity";
	public static AudioManager mAudioManager;
	public static int vibrateTime = 2000;// two seconds
	public static int preMuteVolume;
	public static int isconnected=1;
	public static int displayWidth=0;
	public static int displayHeight=0;



	public Collection get() {
		return collectionObj;
	}

	public void set(Collection collectionObj) {
		Globals.collectionObj = collectionObj;
	}
}